package com.itlong.cloud.service;

import com.itlong.cloud.POJO.DTO.common.ParkingMessageDTO;
import com.itlong.cloud.enumerate.ParkingBusinessOrderEnum;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.io.IOException;

/**
 * <desc>
 * 暴露操作netty通道接口
 * </desc>
 *
 * @createDate 2017/12/07
 */
public interface INettyService {


    /**
     * <desc>
     * 发送查询出场记录指令
     * </desc>
     *
     * @param clientKey                客户端的唯一标识KEY
     * @param content                  参数(JSON格式)
     * @param parkingBusinessOrderEnum 出入场类型
     * @return 受影响行数
     * @author Wenchao.L
     * @createDate 2018/11/7
     */
    ParkingMessageDTO sendQueryInOrOutRecord(String clientKey, String content,
                                             ParkingBusinessOrderEnum parkingBusinessOrderEnum, String messageId) throws IOException;


}
